package com.dinghui.ebookbag.utils;

public class StringUtil {

    /**
     * 移除首尾双引号
     * @param value
     * @return
     */
    public static String removeStartAndEndQuotationMarks(String value) {
        if (value.startsWith("\"")) {
            value = value.substring(1, value.length());
        }
        if (value.endsWith("\"")) {
            value = value.substring(0, value.length() - 1);
        }
        return value;
    }
}
